package com.example.shushiyunsst.fragment.main.home.child.new_sale.chlid.agency.bean;

import com.alibaba.fastjson.annotation.JSONField;

import org.jetbrains.annotations.NotNull;

import java.io.Serializable;
import java.math.BigDecimal;

public class AreaItemBean implements Serializable {

    /**
     * fcPer : 0.12
     * realName : 撒旦撒
     * uid : 0
     * areaName : 湖南省
     * createTime : 2020-10-27 13:50:01
     * areaType : 1
     * paid : 0
     * scmlNums : 10
     * aid : 2
     * account : 123123
     * proxyFee : 100
     */

    @JSONField(name = "fcPer")
    private String fcPer;

    //代理人
    @JSONField(name = "realName")
    private String realName;

    @JSONField(name = "uid")
    private int uid;

    @JSONField(name = "areaName")
    private String areaName;

    @JSONField(name = "createTime")
    private String createTime;

    @JSONField(name = "areaType")
    private int areaType;

    @JSONField(name = "paid")
    private int paid;

    @JSONField(name = "scmlNums")
    private double scmlNums;

    @JSONField(name = "aid")
    private int aid;

    @JSONField(name = "account")
    private String account;

    @JSONField(name = "proxyFee")
    private double proxyFee;

    private AreaItemBean parentArea;

    private AreaItemBean childArea;



    private BigDecimal sstBalance = BigDecimal.valueOf(0);

    public BigDecimal getSstBalance() {
        if (sstBalance == null) sstBalance = BigDecimal.valueOf(0);
        return sstBalance;
    }

    public void setSstBalance(BigDecimal sstBalance) {
        this.sstBalance = sstBalance;
    }

    public AreaItemBean getChildArea() {
        return childArea;
    }

    public void setChildArea(AreaItemBean childArea) {
        this.childArea = childArea;
    }

    public AreaItemBean getParentArea() {
        return parentArea;
    }

    public void setParentArea(AreaItemBean parentArea) {
        this.parentArea = parentArea;
    }

    public String getFcPer() {
        return fcPer;
    }

    public void setFcPer(String fcPer) {
        this.fcPer = fcPer;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getAreaType() {
        return areaType;
    }

    public void setAreaType(int areaType) {
        this.areaType = areaType;
    }

    public int getPaid() {
        return paid;
    }

    public void setPaid(int paid) {
        this.paid = paid;
    }

    public double getScmlNums() {
        return scmlNums;
    }

    public void setScmlNums(double scmlNums) {
        this.scmlNums = scmlNums;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public double getProxyFee() {
        return proxyFee;
    }

    public void setProxyFee(double proxyFee) {
        this.proxyFee = proxyFee;
    }
}
